package com.telaxo.shooter2012.factory {
	import com.telaxo.shooter2012.interfaces.Entity;

	import flash.display.MovieClip;
	import flash.errors.IllegalOperationError;

	/**
	 * @author Benjamin
	 */
	public class AbstractFactory extends MovieClip {
		//Add an Entity
		public static function createEntity(text:String) : Entity{
			throw  new IllegalOperationError("Abstract method: must be overridden in a subclass");
		}
	}
}
